package com.hzw.saas.service.hpc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzw.saas.service.hpc.model.HpcAccountAmountDaily;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/5/31 17:01
 */
@Mapper
public interface HpcAccountAmountDailyMapper extends BaseMapper<HpcAccountAmountDaily> {

    /**
     * 删除每日余额数据不走逻辑删除
     * @param hpcAccountRecordId
     */
    @Delete("<script> delete from tb_hpc_account_amount_daily where hpc_account_record_id=#{hpcAccountRecordId}  </script>")
    void deleteHpcAccountAmountDailyFromXmlByHpcRecordId(@Param("hpcAccountRecordId") String hpcAccountRecordId);
}
